package com.forum.dto;

public class CommentListDto {
    private Integer id;
    private String content;
    private String createAt;  // 格式化后的日期，如 "2023-10-01"
    private ArticleBriefDto article;
    private UserBasicDto user;

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getCreateAt() {
        return createAt;
    }
    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }
    public ArticleBriefDto getArticle() {
        return article;
    }
    public void setArticle(ArticleBriefDto article) {
        this.article = article;
    }
    public UserBasicDto getUser() {
        return user;
    }
    public void setUser(UserBasicDto user) {
        this.user = user;
    }
}
